Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Dimensions of Points and Vectors


Q3Vector3D_To2D

You can use the Q3Vector3D_To2D function to convert a three-dimensional vector to a two-dimensional vector.

TQ3Vector2D *Q3Vector3D_To2D (
const TQ3Vector3D *vector3D, 
TQ3Vector2D *result);
vector3D
A three-dimensional vector.
result
On exit, a two-dimensional vector.
DESCRIPTION
The Q3Vector3D_To2D function returns, as its function result and in the result parameter, the two-dimensional vector that corresponds to the three-dimensional vector vector3D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996